com.supermap.ar.areffect
Class ARAnimationTranslation
- java.lang.Object
-
- com.supermap.ar.areffect.ARAnimation
-
- com.supermap.ar.areffect.ARAnimationTranslation
-
public class ARAnimationTranslation extends ARAnimation
Displacement animation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static interface
ARAnimationTranslation.TranslationUpdateListener
Position update-
Nested classes/interfaces inherited from class com.supermap.ar.areffect.ARAnimation
ARAnimation.ARAnimatorListener
-
-
Constructor Summary
Constructors Constructor and Description ARAnimationTranslation(AREffectElement arEffectElement)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
creatAnimation(ARAnimationParameter parameter)
Creates an animationvoid
setTranslationUpdateListener(ARAnimationTranslation.TranslationUpdateListener listener)
Sets the position-update listener-
Methods inherited from class com.supermap.ar.areffect.ARAnimation
getARAnimatorListener, pause, play, resume, setARAnimatorListener, stop
-
-
-
-
Constructor Detail
-
ARAnimationTranslation
public ARAnimationTranslation(AREffectElement arEffectElement)
The constructor.- Parameters:
arEffectElement
- ar special effect object
-
-
Method Detail
-
creatAnimation
public void creatAnimation(ARAnimationParameter parameter)
Creates an animation- Parameters:
paramter
- The animation parameter.
-
setTranslationUpdateListener
public void setTranslationUpdateListener(ARAnimationTranslation.TranslationUpdateListener listener)
Sets the position-update listener- Parameters:
listener
-
-
-